package com.example.webcrawler.model;

import lombok.Data;

/**
     * 调试事件类
     */
@Data
    public  class DebugEvent {
        private final String sessionId;
        private final String type;
        private final String data;
        private final long timestamp;

        public DebugEvent(String sessionId, String type, String data) {
            this.sessionId = sessionId;
            this.type = type;
            this.data = data;
            this.timestamp = System.currentTimeMillis();
        }

        // Getters
        public String getSessionId() { return sessionId; }
        public String getType() { return type; }
        public String getData() { return data; }
        public long getTimestamp() { return timestamp; }
    }